package com.chinacoal.hr.levelapi.client.fallback;

import com.chinacoal.hr.levelapi.client.EmployeeClient;
import com.chinacoal.hr.levelapi.client.response.Result;
import com.chinacoal.hr.levelapi.client.response.ResultCode;
import com.chinacoal.hr.levelapi.client.response.ResultGenerator;

/**
 * Created by jinyabin on 2020/10/29.
 */
public class EmployeeclientFallback implements EmployeeClient {
    @Override
    public Result list(long page, long limit, String empCode, String empName, String orgCode) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }

    @Override
    public Result listFuzzy(String empName) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }
}
